<div class="control-group">
    <?php echo form_open('guru/nilai_update'); ?>
    <label class="control-label" for="input01">NIS</label>
    <div class="controls">
        <input id="input01" class="input-xlarge span1" type="text" name="nis" value="<?php echo $nilai[0]->nis ?>" >
    </div>
    <label class="control-label" for="input01">Nama</label>
    <div class="controls">
        <input id="input01" class="input-xlarge" type="text" value="<?php echo $nilai[0]->nama ?>" disabled="">
    </div>
    <label class="control-label" for="input01">Kode Mata Pelajaran</label>
    <div class="controls">
        <input id="input01" class="input-xlarge" type="text" name="mapel" value="<?php echo $nilai[0]->mapel_id ?>" >
    </div>
    <label class="control-label" for="input01">Kode Semester</label>
    <div class="controls">
        <input id="input01" class="input-xlarge" type="text" name="semester" value="<?php echo $nilai[0]->semester_id ?>" >
    </div>
    <label class="control-label" for="input01">Kode Tahun</label>
    <div class="controls">
        <input id="input01" class="input-xlarge" type="text" value="<?php echo $nilai[0]->tahun_id ?>" >
    </div>
    <label class="control-label" for="input01">Nilai</label>
    <div class="controls">
        <input id="input01" class="input-xlarge" type="text" name="nilai" value="<?php echo $nilai[0]->nilai ?>" >
    </div>
    <p class="help-block">Ketikkan data di kolom di atas.</p>
    <button class="btn btn-success" href="#"><i class="icon-ok icon-white"></i> Simpan</button>
    <?php echo form_close() ?>
</div>